Returns the rect where rect rect0 and rect1 cross each other. If both rects do not cross anywhere function will return null.